package cn.yunyichina.provider.base.entity;

import java.util.ArrayList;
import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-09-20 10:59:00
*/
public class Department {

     /*主键ID*/
     private String id;
     public void setId(String id) {
          this.id = id;
     }
     public String getId() {
          return id;
     }

     /*科室名称*/
     private String name;
     public void setName(String name) {
          this.name = name;
     }
     public String getName() {
          return name;
     }

     /*科室类型:0 临床科室（默认）;1 医技科室;2 行政科室;3 其他*/
     private Integer type;
     public void setType(Integer type) {
          this.type = type;
     }
     public Integer getType() {
          return type;
     }

     /*科室介绍（限制2000个字）*/
     private String disc;
     public void setDisc(String disc) {
          this.disc = disc;
     }
     public String getDisc() {
          return disc;
     }

     /*医院ID*/
     private String hospitalId;
     public void setHospitalId(String hospitalId) {
          this.hospitalId = hospitalId;
     }
     public String getHospitalId() {
          return hospitalId;
     }

     /*医院编码*/
     private String hospitalCode;
     public void setHospitalCode(String hospitalCode) {
          this.hospitalCode = hospitalCode;
     }
     public String getHospitalCode() {
          return hospitalCode;
     }

     /*医院名称*/
     private String hospitalName;
     public void setHospitalName(String hospitalName) {
          this.hospitalName = hospitalName;
     }
     public String getHospitalName() {
          return hospitalName;
     }

     /*分院ID*/
     private String branchId;
     public void setBranchId(String branchId) {
          this.branchId = branchId;
     }
     public String getBranchId() {
          return branchId;
     }

     /*分院编码*/
     private String branchCode;
     public void setBranchCode(String branchCode) {
          this.branchCode = branchCode;
     }
     public String getBranchCode() {
          return branchCode;
     }

     /*分院名称*/
     private String branchName;
     public void setBranchName(String branchName) {
          this.branchName = branchName;
     }
     public String getBranchName() {
          return branchName;
     }

     /*科室code*/
     private String deptCode;
     public void setDeptCode(String deptCode) {
          this.deptCode = deptCode;
     }
     public String getDeptCode() {
          return deptCode;
     }

     /*上级科室ID*/
     private String pid;
     public void setPid(String pid) {
          this.pid = pid;
     }
     public String getPid() {
          return pid;
     }

     /*创建时间*/
     private String createdTime;
     public void setCreatedTime(String createdTime) {
          this.createdTime = createdTime;
     }
     public String getCreatedTime() {
          return createdTime;
     }

     private String beginCreatedTime;
     public void setBeginCreatedTime(String beginCreatedTime) {
          this.beginCreatedTime = beginCreatedTime;
     }
     public String getBeginCreatedTime() {
          return beginCreatedTime;
     }

     private String endCreatedTime;
     public void setEndCreatedTime(String endCreatedTime) {
          this.endCreatedTime = endCreatedTime;
     }
     public String getEndCreatedTime() {
          return endCreatedTime;
     }

     /*修改时间*/
     private String updateTime;
     public void setUpdateTime(String updateTime) {
          this.updateTime = updateTime;
     }
     public String getUpdateTime() {
          return updateTime;
     }

     private String beginUpdateTime;
     public void setBeginUpdateTime(String beginUpdateTime) {
          this.beginUpdateTime = beginUpdateTime;
     }
     public String getBeginUpdateTime() {
          return beginUpdateTime;
     }

     private String endUpdateTime;
     public void setEndUpdateTime(String endUpdateTime) {
          this.endUpdateTime = endUpdateTime;
     }
     public String getEndUpdateTime() {
          return endUpdateTime;
     }

     /*删除状态：0未删除（默认） 1已删除*/
     private Integer delStatus;
     public void setDelStatus(Integer delStatus) {
          this.delStatus = delStatus;
     }
     public Integer getDelStatus() {
          return delStatus;
     }

//    /**
//     * 二级科室list
//     */
//     List<Department> twoDepts = new ArrayList<Department>();
//
//     public List<Department> getTwoDepts() {
//          return twoDepts;
//     }
//
//     public void setTwoDepts(List<Department> twoDepts) {
//          this.twoDepts = twoDepts;
//     }
}